package com.example.demo.service;


import com.example.demo.entity.Result;
import com.example.demo.pojo.User;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;
public interface LoginService {
   Result login(User user);

    Result logout();

    Result checkToken(HttpServletRequest request);
}
